package com.xnxy.design.service;

import com.xnxy.design.mapper.AnnouncementMapper;
import com.xnxy.design.mapper.CoreMapper;
import com.xnxy.design.model.Announcement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AnnouncementService extends CoreService<Announcement,Integer>{

    @Autowired
    AnnouncementMapper announcementMapper;

    @Override
    public CoreMapper<Announcement, Integer> getMapper() {
        return announcementMapper;
    }
}
